<!DOCTYPE HTML>
<html lang="fr">
  <head>
  <%= render '_header' %>
<!--[if lt IE 9]><script type="text/javascript" src="/js/excanvas.js"></script><![endif]-->
<script src="/js/tagcanvas.min.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload = function() {
  // set colour of text and outline of active tag
  TagCanvas.textColour = '#4444ff';
  TagCanvas.outlineColour = '#ff9999';
  TagCanvas.weight = true;
  TagCanvas.Start('myCanvas');
  try {
    TagCanvas.Start('myCanvas', 'tags');
  } catch(e) {
    // something went wrong, hide the canvas container
  document.getElementById('myCanvasContainer').style.display = 'none';
  }
};
 </script>
  
  </head>

  <body>
    <%= render '_social' %>
    <div id="main">
      <%= yield %>
      <div id="myCanvasContainer">
	<canvas width="600" height="500" id="myCanvas">
	  <p>Anything in here will be replaced on browsers that support the canvas element</p>
	</canvas>
      </div>
<%= render '_juicy_content' %>

    </div>
    <%= render '_sidebar' %>
    <%= render '_footer' %>
  </body>
</html>
